﻿@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <title>Admin Activate</title>
    <link href="@(Logic.Constants.CurrentUrl)/Content/General.min.css" rel="stylesheet" type="text/css" />
    <link href="@(Logic.Constants.CurrentUrl)/Content/Box.min.css" rel="stylesheet" type="text/css" />
    <link href="@(Logic.Constants.CurrentUrl)/Content/CreateAccount.min.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="OuterBox">
    <div class="Title">Activate Automatic Access</div>
    <div class="Body">
        <div class="Text">
                                                                                                                                                               
            You can allow organization users to use Google Apps integration by clicking ‘Allow Access’,<br/>on the lower part of the ‘<a target="_blank" href="https://app.clarizen.com/Clarizen/Pages/Admin/Adminintegrations.aspx?soc=off&sm=1">Settings -> Extensions</a>’ screen inside your Clarizen account.
            See the screenshot below.<br/>
            Login if necessary.<br/>
            When you're done
            @if(!string.IsNullOrEmpty(Request["CallBack"]))
            {
                 <text>
			        <a href="@Request["CallBack"]">Click here to return to Google Apps</a>.
                 </text>
            }
            else if(!string.IsNullOrEmpty(Request["from_clarizen"]))
            {
                <text>
			        <a href="javascript:window.close()">Close this</a>.
                </text>
            }
            else
            {
                <text>
                    <a href="javascript:window.history.back()">Return to google apps</a>.
                </text>
            }
                
        </div>
        
        <img src="@(Logic.Constants.CurrentUrl)/Images/ActivateSS.png" style="margin-top:40px"/>
       
       <a class="Button" target="_blank" href="https://app.clarizen.com/Clarizen/Pages/Admin/Adminintegrations.aspx?soc=off&sm=1">Change your settings now</a>
        
    </div>
</div>
    
</body>
</html>
